Component({

  properties: {
    //页面默认显示状态
    ruleflag: {
      type: Boolean,
      value: false
    },
    list:{
      type: Object,
      value:{}
    }
  },
  data:{
    DetailsFlag:false,
    pictureUrl:"/image/",
  },

  methods: {
    dialog(){
      this.triggerEvent('explanation')
    },
    // 查看明细
    readBtn(){
      this.setData({
        DetailsFlag:true
      })
    },
    // 关闭明细
    closeDialog(){
      this.setData({
        DetailsFlag:false
      })
    }
  }
});
